package com.gjs.cd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gjs.cd.pojo.dto.TotalReq;
import com.gjs.cd.pojo.entity.CdResource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhongwenguang
 * @date 2022-3-16 11:18
 */
@Mapper
public interface CdResourceMapper extends BaseMapper<CdResource> {
    //通过cd_id进行分组统计
    List<TotalReq> getTotalByIds(@Param("cdIds")List<Long> cdIds);

}
